<h3><%= t "category.index.title" %></h3>

<table>
  <tr>
    <th><%= t "category.name" %></th>
    <th></th>
  </tr>

<% @categories.each do |category| %>
  <tr>
    <td><%= link_to category.name, category %></td>
    <td>
        <%= link_to modify_icon, edit_category_path(category) %>
        <%= link_to delete_icon, category, confirm: t("helpers.delete.confirm"), method: :delete %>
    </td>
  </tr>
<% end %>
</table>
<%= link_to t("category.new.link"), new_category_path %>
